export const key = "MyTokenName";

export const setItem = (key, value) =>{
  localStorage.setItem(key, JSON.stringify(value));
}
export const getItem = (key) =>{
  return JSON.parse(localStorage.getItem(key));
}
export const delItem = (key) =>{
  localStorage.removeItem(key);
}

